home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / fd / intuition_lib.fd < prev    next >
Encoding:
Text File  |  1999-10-20  |  6.1 KB  |  173 lines

  1. ##base _IntuitionBase
  2. ##bias 30
  3. ##public
  4. * Public functions OpenIntuition() and Intuition() are intentionally
  5. * not documented.
  6. OpenIntuition()()
  7. Intuition(iEvent)(a0)
  8. AddGadget(window,gadget,position)(a0/a1,d0)
  9. ClearDMRequest(window)(a0)
  10. ClearMenuStrip(window)(a0)
  11. ClearPointer(window)(a0)
  12. CloseScreen(screen)(a0)
  13. CloseWindow(window)(a0)
  14. CloseWorkBench()()
  15. CurrentTime(seconds,micros)(a0/a1)
  16. DisplayAlert(alertNumber,string,height)(d0/a0,d1)
  17. DisplayBeep(screen)(a0)
  18. DoubleClick(sSeconds,sMicros,cSeconds,cMicros)(d0/d1/d2/d3)
  19. DrawBorder(rp,border,leftOffset,topOffset)(a0/a1,d0/d1)
  20. DrawImage(rp,image,leftOffset,topOffset)(a0/a1,d0/d1)
  21. EndRequest(requester,window)(a0/a1)
  22. GetDefPrefs(preferences,size)(a0,d0)
  23. GetPrefs(preferences,size)(a0,d0)
  24. InitRequester(requester)(a0)
  25. ItemAddress(menuStrip,menuNumber)(a0,d0)
  26. ModifyIDCMP(window,flags)(a0,d0)
  27. ModifyProp(gadget,window,requester,flags,horizPot,vertPot,horizBody,vertBody)(a0/a1/a2,d0/d1/d2/d3/d4)
  28. MoveScreen(screen,dx,dy)(a0,d0/d1)
  29. MoveWindow(window,dx,dy)(a0,d0/d1)
  30. OffGadget(gadget,window,requester)(a0/a1/a2)
  31. OffMenu(window,menuNumber)(a0,d0)
  32. OnGadget(gadget,window,requester)(a0/a1/a2)
  33. OnMenu(window,menuNumber)(a0,d0)
  34. OpenScreen(newScreen)(a0)
  35. OpenWindow(newWindow)(a0)
  36. OpenWorkBench()()
  37. PrintIText(rp,iText,left,top)(a0/a1,d0/d1)
  38. RefreshGadgets(gadgets,window,requester)(a0/a1/a2)
  39. RemoveGadget(window,gadget)(a0/a1)
  40. * The official calling sequence for ReportMouse is given below.
  41. * Note the register order.  For the complete story, read the ReportMouse
  42. * autodoc.
  43. ReportMouse(flag,window)(d0/a0)
  44. Request(requester,window)(a0/a1)
  45. ScreenToBack(screen)(a0)
  46. ScreenToFront(screen)(a0)
  47. SetDMRequest(window,requester)(a0/a1)
  48. SetMenuStrip(window,menu)(a0/a1)
  49. SetPointer(window,pointer,height,width,xOffset,yOffset)(a0/a1,d0/d1/d2/d3)
  50. SetWindowTitles(window,windowTitle,screenTitle)(a0/a1/a2)
  51. ShowTitle(screen,showIt)(a0,d0)
  52. SizeWindow(window,dx,dy)(a0,d0/d1)
  53. ViewAddress()()
  54. ViewPortAddress(window)(a0)
  55. WindowToBack(window)(a0)
  56. WindowToFront(window)(a0)
  57. WindowLimits(window,widthMin,heightMin,widthMax,heightMax)(a0,d0/d1/d2/d3)
  58. *--- start of next generation of names -------------------------------------
  59. SetPrefs(preferences,size,inform)(a0,d0/d1)
  60. *--- start of next next generation of names --------------------------------
  61. IntuiTextLength(iText)(a0)
  62. WBenchToBack()()
  63. WBenchToFront()()
  64. *--- start of next next next generation of names ---------------------------
  65. AutoRequest(window,body,posText,negText,pFlag,nFlag,width,height)(a0/a1/a2/a3,d0/d1/d2/d3)
  66. BeginRefresh(window)(a0)
  67. BuildSysRequest(window,body,posText,negText,flags,width,height)(a0/a1/a2/a3,d0/d1/d2)
  68. EndRefresh(window,complete)(a0,d0)
  69. FreeSysRequest(window)(a0)
  70. * The return codes for MakeScreen(), RemakeDisplay(), and RethinkDisplay()
  71. * are only valid under V39 and greater.  Do not examine them when running
  72. * on pre-V39 systems!
  73. MakeScreen(screen)(a0)
  74. RemakeDisplay()()
  75. RethinkDisplay()()
  76. *--- start of next next next next generation of names ----------------------
  77. AllocRemember(rememberKey,size,flags)(a0,d0/d1)
  78. ##private
  79. intuitionPrivate1()()
  80. ##public
  81. FreeRemember(rememberKey,reallyForget)(a0,d0)
  82. *--- start of 15 Nov 85 names ------------------------
  83. LockIBase(dontknow)(d0)
  84. UnlockIBase(ibLock)(a0)
  85. *--- functions in V33 or higher (Release 1.2) ---
  86. GetScreenData(buffer,size,type,screen)(a0,d0/d1/a1)
  87. RefreshGList(gadgets,window,requester,numGad)(a0/a1/a2,d0)
  88. AddGList(window,gadget,position,numGad,requester)(a0/a1,d0/d1/a2)
  89. RemoveGList(remPtr,gadget,numGad)(a0/a1,d0)
  90. ActivateWindow(window)(a0)
  91. RefreshWindowFrame(window)(a0)
  92. ActivateGadget(gadgets,window,requester)(a0/a1/a2)
  93. NewModifyProp(gadget,window,requester,flags,horizPot,vertPot,horizBody,vertBody,numGad)(a0/a1/a2,d0/d1/d2/d3/d4/d5)
  94. *--- functions in V36 or higher (Release 2.0) ---
  95. QueryOverscan(displayID,rect,oScanType)(a0/a1,d0)
  96. MoveWindowInFrontOf(window,behindWindow)(a0/a1)
  97. ChangeWindowBox(window,left,top,width,height)(a0,d0/d1/d2/d3)
  98. SetEditHook(hook)(a0)
  99. SetMouseQueue(window,queueLength)(a0,d0)
  100. ZipWindow(window)(a0)
  101. *--- public screens ---
  102. LockPubScreen(name)(a0)
  103. UnlockPubScreen(name,screen)(a0/a1)
  104. LockPubScreenList()()
  105. UnlockPubScreenList()()
  106. NextPubScreen(screen,namebuf)(a0/a1)
  107. SetDefaultPubScreen(name)(a0)
  108. SetPubScreenModes(modes)(d0)
  109. PubScreenStatus(screen,statusFlags)(a0,d0)
  110. *
  111. ObtainGIRPort(gInfo)(a0)
  112. ReleaseGIRPort(rp)(a0)
  113. GadgetMouse(gadget,gInfo,mousePoint)(a0/a1/a2)
  114. ##private
  115. intuitionPrivate2()()
  116. ##public
  117. GetDefaultPubScreen(nameBuffer)(a0)
  118. EasyRequestArgs(window,easyStruct,idcmpPtr,args)(a0/a1/a2/a3)
  119. BuildEasyRequestArgs(window,easyStruct,idcmp,args)(a0/a1,d0/a3)
  120. SysReqHandler(window,idcmpPtr,waitInput)(a0/a1,d0)
  121. OpenWindowTagList(newWindow,tagList)(a0/a1)
  122. OpenScreenTagList(newScreen,tagList)(a0/a1)
  123. *
  124. *    new Image functions
  125. DrawImageState(rp,image,leftOffset,topOffset,state,drawInfo)(a0/a1,d0/d1/d2/a2)
  126. PointInImage(point,image)(d0/a0)
  127. EraseImage(rp,image,leftOffset,topOffset)(a0/a1,d0/d1)
  128. *
  129. NewObjectA(classPtr,classID,tagList)(a0/a1/a2)
  130. *
  131. DisposeObject(object)(a0)
  132. SetAttrsA(object,tagList)(a0/a1)
  133. *
  134. GetAttr(attrID,object,storagePtr)(d0/a0/a1)
  135. *
  136. *     special set attribute call for gadgets
  137. SetGadgetAttrsA(gadget,window,requester,tagList)(a0/a1/a2/a3)
  138. *
  139. *    for class implementors only
  140. NextObject(objectPtrPtr)(a0)
  141. ##private
  142. intuitionPrivate3()()
  143. ##public
  144. MakeClass(classID,superClassID,superClassPtr,instanceSize,flags)(a0/a1/a2,d0/d1)
  145. AddClass(classPtr)(a0)
  146. *
  147. *
  148. GetScreenDrawInfo(screen)(a0)
  149. FreeScreenDrawInfo(screen,drawInfo)(a0/a1)
  150. *
  151. ResetMenuStrip(window,menu)(a0/a1)
  152. RemoveClass(classPtr)(a0)
  153. FreeClass(classPtr)(a0)
  154. ##private
  155. intuitionPrivate4()()
  156. intuitionPrivate5()()
  157. *--- (6 function slots reserved here) ---
  158. ##bias 768
  159. ##public
  160. *--- functions in V39 or higher (Release 3) ---
  161. AllocScreenBuffer(sc,bm,flags)(a0/a1,d0)
  162. FreeScreenBuffer(sc,sb)(a0/a1)
  163. ChangeScreenBuffer(sc,sb)(a0/a1)
  164. ScreenDepth(screen,flags,reserved)(a0,d0/a1)
  165. ScreenPosition(screen,flags,x1,y1,x2,y2)(a0,d0/d1/d2/d3/d4)
  166. ScrollWindowRaster(win,dx,dy,xMin,yMin,xMax,yMax)(a1,d0/d1/d2/d3/d4/d5)
  167. LendMenus(fromwindow,towindow)(a0/a1)
  168. DoGadgetMethodA(gad,win,req,message)(a0/a1/a2/a3)
  169. SetWindowPointerA(win,taglist)(a0/a1)
  170. TimedDisplayAlert(alertNumber,string,height,time)(d0/a0,d1/a1)
  171. HelpControl(win,flags)(a0,d0)
  172. ##end
  173.